<?php function _tag_phpcms_tag_content_cat_list($data, $number, $rows, $count, $page, $pages, $setting){ global $PHPCMS,$MODULE,$M,$CATEGORY,$TYPE,$AREA,$GROUP,$MODEL,$templateid,$_userid,$_username;@extract($setting);?><?php if(is_array($data)) foreach($data AS $n => $r) { ?>
<li>
         <span class="date"><?php echo date('Y-m-d',$r[updatetime]);?></span>
         <a href="<?php echo $r['url'];?>" target="<?php echo $target;?>" class="<?php echo $class;?>"><?php echo str_cut($r[title], $titlelen);?></a>
    </li>
<?php } ?>
<?php if($page) { ?><?php echo $pages;?><?php } ?><?php } ?>